SwedbankPay\Payments\WooCommerce\WC_Swedbank_Plugin B

Total Complexity 88
Dependencies 7
Dependents 3
Total lines 748
Lines of code 464
Logical lines of code 226
Comment lines 175
Methods 27
Properties 1

Methods 27

Method Rating Maintainability Complexity Lines of code
billing_phone()
A
50 11 27
order_status_changed()
A
42 8 59
may_add_notice()
A
50 10 26
check_dependencies()
S
50 5 33
includes()
S
56 5 17
order_meta_box_payment_actions()
S
50 4 30
add_meta_boxes()
S
55 4 20
register_gateway()
S
57 4 19
ajax_swedbank_pay_cancel()
S
56 4 18
ajax_swedbank_pay_capture()
S
56 4 18
admin_enqueue_scripts()
S
57 4 15
add_action_buttons()
S
56 3 18
admin_menu()
S
60 3 13
__construct()
S
50 2 27
add_valid_order_statuses()
S
62 2 13
upgrade_notice()
S
55 1 25
migration_notice()
S
56 1 23
missing_woocommerce_notice()
S
56 1 23
migration_page()
S
66 2 8
upgrade_page()
S
66 2 8
install()
S
71 2 6
generate_uuid()
S
77 1 3
payment_description()
S
81 1 3
init()
S
91 1 2
woocommerce_init()
S
75 1 4
woocommerce_hook_loaded()
S
79 1 3
maybe_process_queue()
S
81 1 3